<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

/**
 */

$factory->define(App\Models\CarModels\CarPunishRecord::class, function (Faker $faker) {
    return [
        'record_time'=>$faker->time('Y-m-d H:i:s'),
        'address'=>$faker->address,
        'desc'=>$faker->sentence(10),
        'detail'=>$faker->sentence(10),
        'behavior'=>$faker->sentence(10),
        'car_id'=>$faker->numberBetween(1,20),
        'staff_id'=>$faker->numberBetween(1,20),
        'record_id'=>$faker->numberBetween(1,20),
    ];
});
